package cn.stylefeng.guns.modular.bi.mapper;


import cn.stylefeng.guns.modular.bi.entity.KnowledgeBase;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * <p>
 * 实施问题知识库 Mapper 接口
 * </p>
 */
public interface KnowledgeBaseMapper extends BaseMapper<KnowledgeBase> {

    /**
     * 根据标题模糊搜索
     * @param title 标题关键词
     * @return 匹配的知识库列表
     */
    List<KnowledgeBase> searchByTitle(@Param("title") String title);

}